<?php

namespace App\Models\Ca;

use App\Models\BaseModel;

class SmsTemplate extends BaseModel
{
    protected $table = 'ca__sms_templates';

    protected $fillable = [
        'id',
        'name',
        'code',
        'content',
        'params',
        'hospital_id',
    ];

    protected $casts = [
        'params' => 'array'
    ];

    const PARAMS = [
        'id' => '预约号',
        'name' => '姓名',
        'mobile' => '手机号',
        'yy_time' => '预约时间',
        'docker_name' => '医生',
        'custom_service_name' => '咨询',
        'caller_name' => '话务',
    ];
}